<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../public/public.jsp"%>
<html>
	<head>
		<title>增加部门</title>
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
        <script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/validate.js"></script>
		<script type="text/javascript" src="<%=path %>/js/usermanage/dept.js"></script>
		<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	</head>
	<body style="margin: 0" bgcolor="#FFFFEE">
		<iframe name="target_frame" style="display:none"></iframe>
		<form id="deptForm" action="dept.action" method="post" target="target_frame">
		<input type="hidden" name="po.parentId" value='<s:property value="po.id" />' size="30" readonly>
		<input type="hidden" name="cmd" value="add">
			<table width="100%" border="0" align="center" cellspacing="1"
				bgcolor="#000000">
				<tr>
					<td align="center" valign="middle" bgcolor="#FFF7E5" width="100%" height="25" colspan="2">
						<img src="<%=path %>/img/user_add.gif" border="0">
						<font color="#FF6600" size=2>&nbsp;增加部门</font>
					</td>
				</tr>
				<tr>
					<td bgcolor="#80BFFF" width="30%">
					</td>
					<td bgcolor="#80BFFF" width="70%">
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;部门名称:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.deptName" name="po.deptName" value="" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;部门中文名称:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.deptCname" name="po.deptCname" value="" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;部门电话:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.telephone" name="po.telephone" value="" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;E-Mail:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.email" name="po.email" value="" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;地址:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.addr" name="po.addr" value="" size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;组织类型:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input type="radio" name="po.deptType" value="1" ><font color="#10659E" size="2">组织</font>
						<input type="radio" name="po.deptType" value="0" checked="checked"><font color="#10659E" size="2">部门</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25"> 
						<font color="#10659E" size="2">&nbsp;&nbsp;备注:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5"  height="25">
						<input class="Button_Style" type="text" id="po.remark" name="po.remark" value="" size="30">
					</td>
				</tr>
				<tr>
					<td align="center" bgcolor="#DBEAF5" width="100%" height="25"
						colspan="2">
						<input type="button" value="添 加" onclick="addDept()">
						&nbsp;&nbsp;
						<input type="button" value="取消" onclick="window.close()">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>